package com.v9.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.v9.common.core.domain.AbstractLongEntity;
import com.v9.system.domain.model.NoticeTypeEnum;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 通知公告表 sys_notice
 *
 * @author shilun
 */
@Data
@Accessors(chain = true)
@TableName(value = "sys_notice",common = "通知公告")
public class Notice extends AbstractLongEntity
{
    /** 公告标题 */
    @TableField(common = "是否缓存 ")
    private String title;

    /** 公告类型 */
    @TableField(common = "公告类型 ")
    private NoticeTypeEnum noticeType;

    /** 公告状态 */
    @TableField(common = "公告状态 ",length = 2048)
    private String content;

    /** 公告状态（0正常 1关闭） */
    @TableField(common = "公告状态 ")
    private Boolean status;

}
